package com.sf.algo.shortpath;

import java.util.List;

public class MapInfo {
	private int [][] maps;
	private int width;
	private int hight;
	private Node start;
	private Node end;
	
	public MapInfo(Node start, Node end,List<Coord> barlist) {
		super();
		this.maps = MapUtil.getBarMap(barlist);
		this.width = maps.length;
		this.hight = maps[0].length;
		this.start = start;
		this.end = end;
	}

	public int[][] getMaps() {
		return maps;
	}

	public void setMaps(int[][] maps) {
		this.maps = maps;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public int getHight() {
		return hight;
	}

	public void setHight(int hight) {
		this.hight = hight;
	}

	public Node getStart() {
		return start;
	}

	public void setStart(Node start) {
		this.start = start;
	}

	public Node getEnd() {
		return end;
	}

	public void setEnd(Node end) {
		this.end = end;
	}
	
	
	
}
